import request from '../http.js'

// 月卡支付记录
export const parkInsideRecordList = data => {
	return request({
			url: `/parkInside/record/list`,
			method: 'POST',
			data
	})
}

// 室内停车支付记录
export const indoorRecordList = data => {
	return request({
			url: `/order/record/list`,
			method: 'POST',
			data
	})
}

// 路侧停车支付记录
export const outdoorRecordList = data => {
	return request({
			url: `/order/outdoor/record/list`,
			method: 'POST',
			data
	})
}

// 室内支付记录详情
export const indoorRecordDetail = id => {
	return request({
			url: `/order/record/${id}`,
			method: 'GET',
	})
}

// 路侧停车支付记录详情
export const outdoorRecordDetail = id => {
	return request({
			url: `/order/outdoor/record/${id}`,
			method: 'GET',
	})
}
